<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class AdminRoleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $now = \Carbon\Carbon::now();
        DB::table('admin_role')->insert(
            [
                [
                    'name' => '超级管理员',
                    'created_at' => $now,
                    'updated_at' => $now,
                ],
                [
                    'name' => '普通身份',
                    'created_at' => $now,
                    'updated_at' => $now,],            
            ]
        );
    }
}
